import {createRouter, createWebHashHistory} from 'vue-router'
import Home from '@/views/home'
import componentTitle from '@/components/title'
import Tdzy from '../views/tdzy'
import Nqdt from '@/views/nqdt'
import Test from '@/views/test'

const routes = [
    {
        path: '/',
        name: 'home',
        component: Home
    },
    {
        path: '/title',
        name: 'title',
        component: componentTitle
    },
    {
        path: '/nqdt',
        name: 'nqdt',
        component: Nqdt
    },
    {
        path: '/tdzy',
        name: 'tdzy',
        component: Tdzy
    },
    {
        path: '/test',
        name: 'test',
        component: Test
    }

]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router
